package com.qf.sy2103.ssm.dao;

import com.qf.sy2103.ssm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    int insert(User user);
    User selectname(@Param("name") String name);
    User selectnamepassword(@Param("name") String name, @Param("password") String password);
    List<User> userAll();
    int updata(User user);
    int delete(@Param("ids")Integer[] id);
    List<User> selectcha(User user);
    Integer count();
}
